/**
 * Created by xiongcheng on 2018/3/1.
 */

export default [
  {
    path: '/',
    component: () => import('../components/PageMain.vue'),
   children:[
     {path:'/',redirect:'Recommend'},
     {
       path:'Recommend',
       name:'Recommend',
       meta:{
         global_header:true,
         global_footer:true
       },
       component: () => import('../components/Recommend.vue'),
     },
     {
       path:'ListsDetail/:id',
       name:'ListsDetail',
       meta:{
         global_header:false,
         global_footer:false
       },
       component: () => import('../components/ListsDetail.vue'),
     },
     {
       path:'Concern',
       name:'Concern',
       meta:{
         global_header:true,
         global_footer:true
       },
       component: () => import('../components/Concern.vue'),
     },
     {
       path:'HotList',
       name:'HotList',
       meta:{
         global_header:true,
         global_footer:true
       },
       component: () => import('../components/HotList.vue'),
     },
   ],
  },
  {
    path:'/Idea',
    name:'想法',
    component:()=>import('../components/Idea.vue')
  }

]
